package com.kaibes.platform.link;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

/**
CREATE TABLE `link` (
  `id` TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` VARCHAR(256) NOT NULL,
  `icon` VARCHAR(32) NOT NULL DEFAULT '',
  `href` VARCHAR(64) NOT NULL DEFAULT '',
  `sort` TINYINT UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 */
@Data
@Description("友情链接")
public class Link {
    @Description("链接ID")
    private Short id;
    @Description("链接名字")
    private String name;
    @Description("链接地址")
    private String href;
    @Description("链接图标")
    private String icon;
    @Description("链接排序")
    private Short sort;
}
